package com.gilly;

import java.util.ArrayList;

public class InsertService {
	ArrayList<MemberDTO> list = new ArrayList<MemberDTO>();
	MemberDTO dto = null;
	MemberDAO dao = null;
	public void execute(String id, String password, String name, String address,
			String email, String phone1, String phone2, String phone3){
		
	dto = new MemberDTO(id, password, name, address, email, phone1, phone2, phone3);
	list.add(dto);
	dao = new MemberDAO();
	dao.insert(list);
	
	}
	
}
